\documentclass{article}
\usepackage[x11names, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0pt}%
\usetikzlibrary{automata}%

\begin{document}
\pagestyle{empty}
%
%
%

\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',join=bevel,]
\tikzstyle{every state}=[draw=blue!50,very thick,fill=blue!20]%
\node (q0) at (495bp,1778bp) [state] {$q_{0}$};
  \node (q8) at (1186bp,1162bp) [state] {$q_{8}$};
  \node (q20) at (1806bp,106bp) [state] {$q_{20}$};
  \node (q23) at (516bp,810bp) [state] {$q_{23}$};
  \node (q13) at (1263bp,370bp) [state] {$q_{13}$};
  \node (q7) at (1717bp,1250bp) [state] {$q_{7}$};
  \node (q19) at (1587bp,194bp) [state] {$q_{19}$};
  \node (q24) at (360bp,722bp) [state] {$q_{24}$};
  \node (q14) at (126bp,282bp) [state] {$q_{14}$};
  \node (q27) at (1011bp,370bp) [state] {$q_{27}$};
  \node (q25) at (422bp,810bp) [state] {$q_{25}$};
  \node (q16) at (494bp,546bp) [state] {$q_{16}$};
  \node (q10) at (798bp,986bp) [state] {$q_{10}$};
  \node (q5) at (849bp,1338bp) [state] {$q_{5}$};
  \node (q21) at (2095bp,18bp) [state] {$q_{21}$};
  \node (q3) at (879bp,1514bp) [state] {$q_{3}$};
  \node (q2) at (747bp,1602bp) [state] {$q_{2}$};
  \node (q22) at (578bp,898bp) [state] {$q_{22}$};
  \node (q15) at (551bp,634bp) [state] {$q_{15}$};
  \node (q12) at (1423bp,458bp) [state] {$q_{12}$};
  \node (q9) at (1185bp,1074bp) [state] {$q_{9}$};
  \node (q4) at (879bp,1426bp) [state] {$q_{4}$};
  \node (q18) at (1538bp,282bp) [state] {$q_{18}$};
  \node (q28) at (1509bp,370bp) [state] {$q_{28}$};
  \node (q26) at (926bp,810bp) [state] {$q_{26}$};
  \node (q17) at (1420bp,546bp) [state] {$q_{17}$};
  \node (q11) at (1048bp,986bp) [state] {$q_{11}$};
  \node (q6) at (1717bp,1338bp) [state] {$q_{6}$};
  \node (q1) at (495bp,1690bp) [state] {$q_{1}$};
  \draw [->] (q8) ..controls (1232bp,1145bp) and (1260bp,1129bp)  .. (1249bp,1110bp) .. controls (1242bp,1098bp) and (1231bp,1090bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#escalateTask}$} (q9);
  \draw [->] (q20) ..controls (1828bp,77bp) and (1844bp,62bp)  .. (1861bp,54bp) .. controls (1895bp,37bp) and (2001bp,25bp)  .. node[auto] {$taskManagementProcessAndNextTaskManagerForTMPPortPlkVar#nextTaskReady$} (q21);
  \draw [->] (q23) ..controls (482bp,798bp) and (470bp,794bp)  .. (458bp,792bp) .. controls (422bp,784bp) and (316bp,801bp)  .. (291bp,774bp) .. controls (277bp,757bp) and (302bp,743bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q24);
  \draw [->] (q13) ..controls (1195bp,364bp) and (1115bp,357bp)  .. (1047bp,352bp) .. controls (704bp,325bp) and (288bp,294bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q14);
  \draw [->] (q7) ..controls (1571bp,1247bp) and (1103bp,1236bp)  .. (1082bp,1214bp) .. controls (1058bp,1189bp) and (1111bp,1175bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#reassign}$} (q8);
  \draw [->] (q19) ..controls (1650bp,169bp) and (1729bp,137bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#notifyTaskCompletion}$} (q20);
  \draw [->] (q24) ..controls (416bp,696bp) and (481bp,667bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask}$} (q15);
  \draw [->] (q14) ..controls (223bp,311bp) and (432bp,386bp)  .. (530bp,528bp) .. controls (546bp,550bp) and (551bp,583bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask}$} (q15);
  \draw [->] (q27) ..controls (847bp,404bp) and (199bp,538bp)  .. (119bp,582bp) .. controls (65bp,611bp) and (18bp,616bp)  .. (18bp,678bp) .. controls (18bp,1602bp) and (18bp,1602bp)  .. (18bp,1602bp) .. controls (18bp,1743bp) and (189bp,1649bp)  .. (328bp,1670bp) .. controls (384bp,1678bp) and (398bp,1682bp)  .. (453bp,1688bp) .. controls (455bp,1688bp) and (456bp,1688bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q25) ..controls (421bp,846bp) and (420bp,873bp)  .. (420bp,898bp) .. controls (420bp,1074bp) and (420bp,1074bp)  .. (420bp,1074bp) .. controls (420bp,1172bp) and (388bp,1195bp)  .. (388bp,1294bp) .. controls (388bp,1602bp) and (388bp,1602bp)  .. (388bp,1602bp) .. controls (388bp,1640bp) and (430bp,1665bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q16) ..controls (503bp,587bp) and (506bp,626bp)  .. (486bp,652bp) .. controls (484bp,655bp) and (329bp,702bp)  .. (324bp,704bp) .. controls (275bp,726bp) and (219bp,711bp)  .. (219bp,766bp) .. controls (219bp,1602bp) and (219bp,1602bp)  .. (219bp,1602bp) .. controls (219bp,1713bp) and (343bp,1668bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q10) ..controls (719bp,1005bp) and (602bp,1037bp)  .. (602bp,1074bp) .. controls (602bp,1602bp) and (602bp,1602bp)  .. (602bp,1602bp) .. controls (602bp,1640bp) and (560bp,1665bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q5) ..controls (771bp,1364bp) and (648bp,1406bp)  .. (648bp,1426bp) .. controls (648bp,1602bp) and (648bp,1602bp)  .. (648bp,1602bp) .. controls (648bp,1655bp) and (577bp,1677bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q0) ..controls (495bp,1748bp) and (495bp,1732bp)  .. node[auto] {$tMPAndUBPPlkVar#createTask$} (q1);
  \draw [->] (q21) ..controls (2182bp,25bp) and (2322bp,39bp)  .. (2338bp,54bp) .. controls (2354bp,70bp) and (2348bp,82bp)  .. (2348bp,106bp) .. controls (2348bp,458bp) and (2348bp,458bp)  .. (2348bp,458bp) .. controls (2348bp,613bp) and (2134bp,441bp)  .. (2006bp,528bp) .. controls (1912bp,591bp) and (1950bp,665bp)  .. (1866bp,740bp) .. controls (1656bp,924bp) and (1326bp,1032bp)  .. node[auto] {$\overline{taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask}$} (q9);
  \draw [->] (q3) ..controls (879bp,1484bp) and (879bp,1468bp)  .. node[auto] {$\overline{taskManagementProcessAndPreviousProcessTaskManagerForTMPPortPlkVar#nextTaskReady}$} (q4);
  \draw [->] (q2) ..controls (788bp,1575bp) and (826bp,1550bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#create}$} (q3);
  \draw [->] (q22) ..controls (564bp,870bp) and (561bp,855bp)  .. (569bp,846bp) .. controls (590bp,822bp) and (802bp,814bp)  .. node[auto] {$\tau$} (q26);
  \draw [->] (q22) ..controls (512bp,877bp) and (472bp,849bp)  .. node[auto] {$\tau$} (q25);
  \draw [->] (q22) ..controls (552bp,878bp) and (544bp,870bp)  .. (537bp,862bp) .. controls (532bp,855bp) and (528bp,846bp)  .. node[auto] {$\tau$} (q23);
  \draw [->] (q15) ..controls (677bp,626bp) and (1026bp,601bp)  .. (1313bp,564bp) .. controls (1336bp,561bp) and (1363bp,556bp)  .. node[auto] {$\tau$} (q17);
  \draw [->] (q15) ..controls (532bp,605bp) and (520bp,586bp)  .. node[auto] {$\tau$} (q16);
  \draw [->] (q12) ..controls (1423bp,429bp) and (1425bp,415bp)  .. (1433bp,406bp) .. controls (1443bp,393bp) and (1458bp,385bp)  .. node[auto] {$\tau$} (q28);
  \draw [->] (q12) ..controls (1265bp,434bp) and (1113bp,397bp)  .. node[auto] {$\tau$} (q27);
  \draw [->] (q12) ..controls (1375bp,431bp) and (1325bp,404bp)  .. node[auto] {$\tau$} (q13);
  \draw [->] (q9) ..controls (1142bp,1047bp) and (1102bp,1021bp)  .. node[auto] {$\tau$} (q11);
  \draw [->] (q9) ..controls (1037bp,1049bp) and (897bp,1013bp)  .. node[auto] {$\tau$} (q10);
  \draw [->] (q4) ..controls (1029bp,1410bp) and (1537bp,1357bp)  .. node[auto] {$\tau$} (q6);
  \draw [->] (q4) ..controls (869bp,1396bp) and (863bp,1379bp)  .. node[auto] {$\tau$} (q5);
  \draw [->] (q18) ..controls (1554bp,252bp) and (1564bp,235bp)  .. node[auto] {$\overline{taskManagementProcessAndTaskManagementSystemForPortTaskManagementServicesSOAPPlkVar#setOutputAndComplete}$} (q19);
  \draw [->] (q28) ..controls (1615bp,373bp) and (1838bp,381bp)  .. (1860bp,406bp) .. controls (1894bp,444bp) and (1849bp,477bp)  .. (1810bp,510bp) .. controls (1697bp,602bp) and (1618bp,531bp)  .. (1500bp,616bp) .. controls (1443bp,656bp) and (1462bp,700bp)  .. (1405bp,740bp) .. controls (1399bp,743bp) and (1116bp,851bp)  .. (930bp,880bp) .. controls (833bp,894bp) and (808bp,893bp)  .. (710bp,896bp) .. controls (678bp,897bp) and (642bp,897bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q22);
  \draw [->] (q28) ..controls (1506bp,342bp) and (1506bp,329bp)  .. (1510bp,318bp) .. controls (1511bp,313bp) and (1513bp,309bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q18);
  \draw [->] (q28) ..controls (1486bp,391bp) and (1478bp,399bp)  .. (1471bp,406bp) .. controls (1462bp,415bp) and (1452bp,426bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q12);
  \draw [->] (q28) ..controls (1558bp,370bp) and (1589bp,371bp)  .. (1616bp,372bp) .. controls (1638bp,372bp) and (1644bp,372bp)  .. (1667bp,374bp) .. controls (1690bp,375bp) and (1695bp,376bp)  .. (1719bp,378bp) .. controls (1771bp,382bp) and (1785bp,380bp)  .. (1836bp,394bp) .. controls (1854bp,399bp) and (1860bp,398bp)  .. (1878bp,406bp) .. controls (1890bp,411bp) and (1892bp,416bp)  .. (1905bp,422bp) .. controls (2077bp,493bp) and (2196bp,380bp)  .. (2311bp,528bp) .. controls (2398bp,641bp) and (2187bp,662bp)  .. (2124bp,792bp) .. controls (2111bp,817bp) and (2110bp,825bp)  .. (2110bp,854bp) .. controls (2110bp,1162bp) and (2110bp,1162bp)  .. (2110bp,1162bp) .. controls (2110bp,1306bp) and (1936bp,1210bp)  .. (1795bp,1242bp) .. controls (1780bp,1245bp) and (1777bp,1246bp)  .. (1763bp,1248bp) .. controls (1761bp,1248bp) and (1758bp,1248bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q26) ..controls (822bp,818bp) and (605bp,836bp)  .. (593bp,846bp) .. controls (586bp,852bp) and (582bp,861bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q22);
  \draw [->] (q26) ..controls (917bp,755bp) and (905bp,665bp)  .. (905bp,590bp) .. controls (905bp,590bp) and (905bp,590bp)  .. (905bp,370bp) .. controls (905bp,309bp) and (1365bp,288bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q18);
  \draw [->] (q26) ..controls (936bp,787bp) and (938bp,780bp)  .. (940bp,774bp) .. controls (958bp,705bp) and (913bp,664bp)  .. (965bp,616bp) .. controls (995bp,587bp) and (1110bp,604bp)  .. (1152bp,598bp) .. controls (1224bp,586bp) and (1248bp,598bp)  .. (1313bp,564bp) .. controls (1318bp,561bp) and (1370bp,511bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q12);
  \draw [->] (q26) ..controls (1070bp,834bp) and (1543bp,920bp)  .. (1649bp,1022bp) .. controls (1704bp,1076bp) and (1715bp,1174bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q17) ..controls (1398bp,590bp) and (1371bp,640bp)  .. (1354bp,652bp) .. controls (1225bp,736bp) and (1120bp,594bp)  .. (1011bp,704bp) .. controls (960bp,754bp) and (1038bp,813bp)  .. (987bp,862bp) .. controls (960bp,887bp) and (711bp,895bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q22);
  \draw [->] (q17) ..controls (1530bp,541bp) and (1779bp,528bp)  .. (1810bp,510bp) .. controls (1887bp,461bp) and (1893bp,422bp)  .. (1918bp,334bp) .. controls (1919bp,327bp) and (1922bp,323bp)  .. (1918bp,318bp) .. controls (1895bp,292bp) and (1666bp,285bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q18);
  \draw [->] (q17) ..controls (1420bp,518bp) and (1421bp,505bp)  .. (1421bp,494bp) .. controls (1421bp,491bp) and (1421bp,489bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q12);
  \draw [->] (q17) ..controls (1537bp,557bp) and (1827bp,586bp)  .. (1856bp,616bp) .. controls (1956bp,721bp) and (1885bp,796bp)  .. (1885bp,942bp) .. controls (1885bp,1162bp) and (1885bp,1162bp)  .. (1885bp,1162bp) .. controls (1885bp,1221bp) and (1803bp,1240bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q11) ..controls (943bp,967bp) and (705bp,922bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q22);
  \draw [->] (q11) ..controls (914bp,972bp) and (887bp,965bp)  .. (780bp,950bp) .. controls (675bp,935bp) and (644bp,949bp)  .. (542bp,916bp) .. controls (418bp,874bp) and (395bp,843bp)  .. (284bp,774bp) .. controls (196bp,718bp) and (58bp,705bp)  .. (111bp,616bp) .. controls (198bp,472bp) and (288bp,499bp)  .. (445bp,440bp) .. controls (780bp,313bp) and (881bp,320bp)  .. (1239bp,296bp) .. controls (1334bp,289bp) and (1357bp,287bp)  .. (1453bp,284bp) .. controls (1468bp,283bp) and (1486bp,282bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q18);
  \draw [->] (q11) ..controls (1114bp,979bp) and (1188bp,970bp)  .. (1248bp,950bp) .. controls (1333bp,922bp) and (1370bp,930bp)  .. (1429bp,862bp) .. controls (1476bp,806bp) and (1421bp,752bp)  .. (1477bp,704bp) .. controls (1587bp,607bp) and (1706bp,761bp)  .. (1804bp,652bp) .. controls (1850bp,599bp) and (1857bp,545bp)  .. (1810bp,494bp) .. controls (1786bp,468bp) and (1552bp,461bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q12);
  \draw [->] (q11) ..controls (1032bp,1047bp) and (1012bp,1157bp)  .. (1070bp,1214bp) .. controls (1111bp,1254bp) and (1530bp,1246bp)  .. (1588bp,1248bp) .. controls (1619bp,1249bp) and (1654bp,1249bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q6) ..controls (1537bp,1328bp) and (793bp,1278bp)  .. (635bp,1126bp) .. controls (580bp,1072bp) and (575bp,974bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#revokeTask$} (q22);
  \draw [->] (q6) ..controls (1751bp,1337bp) and (1758bp,1336bp)  .. (1764bp,1336bp) .. controls (1853bp,1329bp) and (2569bp,1339bp)  .. (2569bp,1250bp) .. controls (2569bp,1250bp) and (2569bp,1250bp)  .. (2569bp,942bp) .. controls (2569bp,707bp) and (2389bp,473bp)  .. (2303bp,406bp) .. controls (2092bp,243bp) and (1982bp,300bp)  .. (1717bp,286bp) .. controls (1693bp,284bp) and (1687bp,284bp)  .. (1663bp,284bp) .. controls (1633bp,283bp) and (1600bp,282bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#completeTask$} (q18);
  \draw [->] (q6) ..controls (1839bp,1326bp) and (2156bp,1292bp)  .. (2156bp,1250bp) .. controls (2156bp,1250bp) and (2156bp,1250bp)  .. (2156bp,942bp) .. controls (2156bp,913bp) and (2151bp,900bp)  .. (2170bp,880bp) .. controls (2218bp,826bp) and (2277bp,883bp)  .. (2325bp,828bp) .. controls (2343bp,806bp) and (2335bp,793bp)  .. (2335bp,766bp) .. controls (2335bp,766bp) and (2335bp,766bp)  .. (2335bp,590bp) .. controls (2335bp,560bp) and (2334bp,545bp)  .. (2311bp,528bp) .. controls (2253bp,484bp) and (1732bp,471bp)  .. (1660bp,466bp) .. controls (1635bp,464bp) and (1628bp,463bp)  .. (1604bp,462bp) .. controls (1580bp,460bp) and (1574bp,460bp)  .. (1550bp,460bp) .. controls (1519bp,459bp) and (1486bp,458bp)  .. node[auto] {$taskManagementProcessAndUIFWForUIFWPortPlkVar#claimTask$} (q12);
  \draw [->] (q6) ..controls (1717bp,1308bp) and (1717bp,1292bp)  .. node[auto] {$tMPAndUBPPlkVar#escalateTask$} (q7);
  \draw [->] (q1) ..controls (555bp,1683bp) and (615bp,1673bp)  .. (662bp,1654bp) .. controls (683bp,1646bp) and (704bp,1632bp)  .. node[auto] {$\overline{tMPAndUBPPlkVar#createTask}$} (q2);
%
\end{tikzpicture}
% End of code

%
\end{document}
%


